Automating the Testing of Object Behaviour: A Statechart-Driven Approach
نویسندگان
چکیده
The evolution of current modeling specifications gives rise to the problem of generating automated test cases from a variety of application tools. Past endeavours on behavioural testing of UML statecharts have not systematically leveraged the potential of existing graph theory for testing of objects. Therefore there exists a need for a simple, tool-independent, and effective method for automatic test generation. An architecture, codenamed ACUTE-J (Automated stateChart Unit Testing Engine for Java), for automating the unit test generation process is presented. A sequential approach for converting UML statechart diagrams to JUnit test classes is described, with the application of existing graph theory. Research byproducts such as a universal XML Schema and API for statechart-driven testing are also proposed. The result from a Java implementation of ACUTE-J is discussed in brief. The Chinese Postman algorithm is utilised as an illustration for a run-through of the ACUTE-J architecture. Keywords—Automated testing, model based testing, statechart testing, UML, unit testing.
منابع مشابه
Automated Object’s Statechart Generation and Testing from Class Method Contracts
The link between an object’s class specifications and UML statechart is rather informal and poses consistency issues during software evolution. We address this issue by proposing a connection between class diagram and statechart in a lock-step fashion, which leads to a coherent design for better development, testing, and maintenance of the software system. In this paper, we describe an approach...
متن کاملThe Relationship Between Object Relations and the Severity of Depression Symptoms: The Mediating Role of Self-Compassion
Objectives The current research investigated the mediating role of self-compassion in the connection between object relations and the severity of depression symptoms. Methods This was a descriptive and correlational study. The study sample consisted of 245 male and female students residing in the dormitories of Iran University of Medical Sciences in the academic year of 2017-18. They were sele...
متن کاملAn UML Statechart Diagram-Based MM-Path Generation Approach for Object-Oriented Integration Testing
MM-Path, an acronym for Method/Message Path, describes the dynamic interactions between methods in object-oriented systems. This paper discusses the classifications of MM-Path, based on the characteristics of object-oriented software. We categorize it according to the generation reasons, the effect scope and the composition of MM-Path. A formalized representation of MM-Path is also proposed, wh...
متن کاملAn Approach to Building Object Models with UML in Embedded Systems
The UML-based developmentmethods of embedded systems are use case-driven. In these methods, identifying objects that constitute the software system is a critical and hard task, since there is no firm guidelines. In this article, we propose a systematic approach to building object models in embedded systems. After hierarchically decomposing the system into its parts, the approach consists of fir...
متن کاملCONTROL OF CHAOS IN A DRIVEN NON LINEAR DYNAMICAL SYSTEM
We present a numerical study of a one-dimensional version of the Burridge-Knopoff model [16] of N-site chain of spring-blocks with stick-slip dynamics. Our numerical analysis and computer simulations lead to a set of different results corresponding to different boundary conditions. It is shown that we can convert a chaotic behaviour system to a highly ordered and periodic behaviour by making on...
متن کامل